<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="jp.nyatla.lr.*" %>
<%@ page import="jp.nyatla.ntg.*" %>
<%@ page import="java.util.*" %>
<%
	ListTimelineTwitterSession s=new ListTimelineTwitterSession(request,true);
//	TwitterSessionData sd=s.refSessionData();
	s.getConnection();
	//サインインチェック
	if(!s.isSignIn()){
		%><jsp:forward page="error.jsp" /><%
	}
	//プロファイルの取得
	s.commitSession();
%>
<html>
	<head>
		<style>
	.tldiv{
		background-color: white;
		height:50px;
	}
		</style>
	</head>
	<body class="body" onload="_init();">
		<table style="border:solid 0px black">
			<script type="text/javascript">
				var lists=<%=s.getListNameJs(request.getParameter("name")) %>
				document.write("<tr><th>name</th><th>id</th></tr>\n");
				for(var i=0;i<lists.length;i++){
					document.write("<tr><td>"+lists[i].name+"</td><td>"+lists[i].id+"</td></tr>\n");
				}
			</script>
		</table>
	</body>
	
</html>